package com.ricohgag.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ricohgag.entity.GoodsCatalog;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 肖晖
 * @since 2018-08-25
 */
public interface GoodsCatalogService extends IService<GoodsCatalog> {
    public List<GoodsCatalog> selectGoodsCatalog() throws Exception;
    public IPage<GoodsCatalog> selectCatalogPage(String name, Page<GoodsCatalog> page) throws Exception;
    public GoodsCatalog selectCatalogOne(Integer id) throws Exception;
    public int updateCatalog(GoodsCatalog goodsCatalog) throws Exception;
    public int insertCatalog(GoodsCatalog goodsCatalog) throws Exception;
    public int deleteCatalog(int id) throws Exception;

}
